
<?php include('left.php');?>
 <div id="main-content">
   <!-- Main Content Section with everything -->
   <noscript>
   <!-- Show a notification if the user has disabled javascript -->
   <div class="notification error png_bg">
     <div> Javascript is disabled or is not supported by your browser. Please <a href="http://browsehappy.com/" title="Upgrade to a better browser">upgrade</a> your browser or <a href="http://www.google.com/support/bin/answer.py?answer=23852" title="Enable Javascript in your browser">enable</a> Javascript to navigate the interface properly.
       Download From <a href="http://www.exet.tk">exet.tk</a></div>
   </div>
   </noscript>
   <!-- Page Head -->
   <h2>用户查询</h2>
   <br/>

     <br/>
     <div class="clear"></div>
   <!-- End .clear -->
     <div class="content-box">
         <!-- Start Content Box -->
         <div class="content-box-header">
             <h3>添加新颜色</h3>

             <div class="clear"></div>
         </div>
         <?php if($flag):?>
         <div class="notification success png_bg"> <a href="#" class="close"><img src="/images/icons/cross_grey_small.png" title="Close this notification" alt="close" /></a>
             <div> Success. 修改用户资料成功 </div>
         </div>
         <?php endif;?>
         <!-- End .content-box-header -->
         <div class="content-box-content">
             <!-- End #tab1 -->
             <div class="tab-content default-tab" id="tab1">
                 <?=form_open_multipart('administrator/user/save')?>
                 <!--form action="<?php //echo site_url('administrator/product_color/save')?>" method="post"-->
                     <fieldset>
                         <!-- Set class to "column-left" or "column-right" on fieldsets to divide the form into columns -->
                         <p>
                             <label>用户ID</label>
                            <?=$user['user_id']?>
                            <input type="hidden" name="user_id" value="<?=$user['user_id']?>">
                         </p>
                         <p>
                             <label>通行证</label>
                             <?=$user['passport']?>
                         </p>
                         <p>
                             <label>昵称</label>
                             <?=$user['nickname']?>
                         </p>
                         <p>
                             <label>登录密码</label>
                             <input name="password" type="text" value="" class="text-input">
                         </p>
                         <p>
                             <label>用户状态</label>
                             <?php if($user['user_status']):?>
                             <input name="user_status" type="radio" value="1" checked="checked">正常
                             <input name="user_status" type="radio" value="0">删除
                             <?php else:?>
                             <input name="user_status" type="radio" value="1">正常
                             <input name="user_status" type="radio" value="0" checked="checked">删除
                             <?php endif;?>
                         </p>
                         <p>
                             <label>是否激活</label>
                             <?php if($user['is_activation']):?>已激活<?php else:?>未激活<?php endif;?>
                         </p>
                         <p>
                             <label>注册日期</label>
                             <?=$user['create_time']?>
                         </p>
                         <p>
                             <input class="button" type="submit" value="Submit"/>
                         </p>
                     </fieldset>
                     <div class="clear"></div>
                     <!-- End .clear -->
                 </form>
             </div>
             <!-- End #tab2 -->
         </div>
         <!-- End .content-box-content -->
     </div>
   <!-- End .content-box -->
   <div class="clear"></div>
   <!-- Start Notifications -->

   <!-- End Notifications -->
   <?php require(dirname(__FILE__) . '/footer.php'); ?>
   <!-- End #footer -->
 </div>
 <!-- End #main-content -->
</div>
</body>
<!-- Download From www.exet.tk-->
</html>
<script>
function _export()
{
    $('#user_search').attr('action','/administrator/user/export').submit().attr('action','/administrator/user/search');
}
</script>
